import request from '@/utils/request'

// 查询仰口基地留样产品微生物检验记录列表
export function listYk_microbe(query) {
  return request({
    url: '/Laboratory/yk_microbe/list',
    method: 'get',
    params: query
  })
}

// 查询仰口基地留样产品微生物检验记录详细
export function getYk_microbe(id) {
  return request({
    url: '/Laboratory/yk_microbe/' + id,
    method: 'get'
  })
}

// 新增仰口基地留样产品微生物检验记录
export function addYk_microbe(data) {
  return request({
    url: '/Laboratory/yk_microbe',
    method: 'post',
    data: data
  })
}

// 修改仰口基地留样产品微生物检验记录
export function updateYk_microbe(data) {
  return request({
    url: '/Laboratory/yk_microbe',
    method: 'put',
    data: data
  })
}
export function checkYk_microbe(data) {
  return request({
    url: '/Laboratory/yk_microbe/check',
    method: 'put',
    data: data
  })
}
// 删除仰口基地留样产品微生物检验记录
export function delYk_microbe(id) {
  return request({
    url: '/Laboratory/yk_microbe/' + id,
    method: 'delete'
  })
}
